![]() |
WOLF core
WOLF: A Modular Estimation Framework for Robotics
|
Composite of state vectors. More...
#include <core/composite/vector_composite.h>
Public Member Functions | |
| VectorComposite (const Composite< Eigen::VectorXd > &_composite) | |
| Constructor from a composite of vectors. More... | |
| Eigen::VectorXd | vector (const StateKeys &_keys) const |
| Returns the concatenation of the vectors of the given keys. More... | |
Public Member Functions inherited from wolf::Composite< Eigen::VectorXd > | |
| Composite (const YAML::Node &_n, const std::string &_field, const bool _required, const std::string &_keys=ALL_KEYS) | |
| Constructor from a YAML map of keys. More... | |
| virtual | ~Composite ()=default |
| Destructor. More... | |
| bool | has (char _key) const |
| Returns whether the composite has a key. More... | |
| bool | has (const StateKeys &_structure) const |
| Returns whether the composite has all the keys. More... | |
| StateKeys | getKeys () const |
| Returns all the keys. More... | |
| Composite | operator() (const std::string &_keys) const |
| Returns the composite of the given keys. Throws if any is missing. More... | |
| YAML::Node | toYaml () const |
| Returns a YAML map of the keys. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &_os, const wolf::VectorComposite &_x) |
| Prints the vector composite to a stream. More... | |
Additional Inherited Members | |
Public Types inherited from wolf::Composite< Eigen::VectorXd > | |
| using | CompositeType = Eigen::VectorXd |
| Type of the stored values. More... | |
Composite of state vectors.
| wolf::VectorComposite::VectorComposite | ( | const Composite< Eigen::VectorXd > & | _composite | ) |
Constructor from a composite of vectors.
| VectorXd wolf::VectorComposite::vector | ( | const StateKeys & | _keys | ) | const |
Returns the concatenation of the vectors of the given keys.
|
friend |
Prints the vector composite to a stream.